package cn.iocoder.yudao.module.system.service.CustomerService;

import cn.iocoder.yudao.module.system.dal.dataobject.user.SystemCustomerService;
import cn.iocoder.yudao.module.system.dal.mysql.user.CustomerServiceMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 梁富贵
 * @Date 2024/10/25
 **/
@Service
public class CustomerServiceImpl implements CustomerService{
    @Resource
    private CustomerServiceMapper customerServiceMapper;

    @Override
    public SystemCustomerService getCustomerServiceByLessReplication(Long userId) {
        return customerServiceMapper.selectByParentId(userId);
    }
}
